﻿using System;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    internal class XCTRecord : BiffRecord
    {
        private short ccrn;
        private ushort itab;

        internal override BiffRecordType RecordType
        {
            get { return BiffRecordType.XCT; }
        }

        internal override void WriteContent(BiffWriterWorkbookContext context)
        {
            context.Write(ccrn);
            context.Write(itab);
        }

        protected override void ReadContent(BiffReaderContext context, int length)
        {
            this.ccrn = context.ReadInt16();
            this.itab = context.ReadUInt16();
        }

    }
}